import SubPage from "@/layout/SubPage.vue"

export default {
  path: "clinic",
  name: "clinic",
  component: SubPage,
  meta: { title: "门店模块", icon: "dashboard" },
  hidden: true,
  props: true,
  children: [// --- 门店词典 ---
    {
      path: "clinic_dic",
      name: "clinic_dic",
      component: SubPage,
      meta: { title: "门店词典", icon: "dashboard" },
      hidden: true,
      props: true,
      children: [// --- 门店诊疗词典 ---
        {
          path: "clinic_diag_dic",
          name: "clinic_diag_dic",
          component: SubPage,
          meta: { title: "门店诊疗词典", icon: "dashboard" },
          hidden: true,
          props: true,
          children: [{
            name: "clinic_sym_dic",
            meta: { title: "门店症状词典项", icon: "dashboard" },
            path: "clinic_sym_dic/:viewMode/:mode",
            component: () => import("@/views/business/page/manager/clinic/clinicdic/clinicdiagdic/ClinicSymDic"),
            hidden: true,
            props: true
          }, {
            name: "clinic_family_dic",
            meta: { title: "门店家族病词典项", icon: "dashboard" },
            path: "clinic_family_dic/:viewMode/:mode",
            component: () => import("@/views/business/page/manager/clinic/clinicdic/clinicdiagdic/ClinicFamilyDic"),
            hidden: true,
            props: true
          }, {
            name: "clinic_his_dic",
            meta: { title: "门店既往史词典项", icon: "dashboard" },
            path: "clinic_his_dic/:viewMode/:mode",
            component: () => import("@/views/business/page/manager/clinic/clinicdic/clinicdiagdic/ClinicHisDic"),
            hidden: true,
            props: true
          }, {
            name: "clinic_fdm_dic",
            meta: { title: "门店四诊法词典项", icon: "dashboard" },
            path: "clinic_fdm_dic/:viewMode/:mode",
            component: () => import("@/views/business/page/manager/clinic/clinicdic/clinicdiagdic/ClinicFdmDic"),
            hidden: true,
            props: true
          }, {
            name: "clinic_phy_dic",
            meta: { title: "门店体质词典项", icon: "dashboard" },
            path: "clinic_phy_dic/:viewMode/:mode",
            component: () => import("@/views/business/page/manager/clinic/clinicdic/clinicdiagdic/ClinicPhyDic"),
            hidden: true,
            props: true
          }, {
            name: "subClinicDiagDic",
            meta: { title: "门店病症词典项", icon: "dashboard" },
            path: "subClinicDiagDic/:viewMode/:mode",
            component: () => import("@/views/business/page/manager/clinic/clinicdic/clinicdiagdic/ClinicDiagDic"),
            hidden: true,
            props: true
          }, {
            name: "clinic_allergy_dic",
            meta: { title: "门店过敏史词典", icon: "dashboard" },
            path: "clinic_allergy_dic/:viewMode/:mode",
            component: () => import("@/views/business/page/manager/clinic/clinicdic/clinicdiagdic/ClinicAllergyDic"),
            hidden: true,
            props: true
          }, {
            name: "ClinicChDiagDic",
            meta: { title: "门店中医病词典项", icon: "dashboard" },
            path: "ClinicChDiagDic/:viewMode/:mode",
            component: () => import("@/views/business/page/manager/clinic/clinicdic/clinicdiagdic/ClinicChDiagDic.vue"),
            hidden: true,
            props: true
          }, {
            name: "ClinicChYndromeDic",
            meta: { title: "门店中医症词典项", icon: "dashboard" },
            path: "ClinicChYndromeDic/:viewMode/:mode",
            component: () => import("@/views/business/page/manager/clinic/clinicdic/clinicdiagdic/ClinicChYndromeDic.vue"),
            hidden: true,
            props: true
          }, {
            name: "ClinicChTherapyDic",
            meta: { title: "门店治法词典项", icon: "dashboard" },
            path: "ClinicChTherapyDic/:viewMode/:mode",
            component: () => import("@/views/business/page/manager/clinic/clinicdic/clinicdiagdic/ClinicChTherapyDic.vue"),
            hidden: true,
            props: true
          }]
        }, // --- 门诊医药词典 ---
        {
          path: "clinic_medicine_dic",
          name: "clinic_medicine_dic",
          component: SubPage,
          meta: { title: "门诊医药词典", icon: "dashboard" },
          hidden: true,
          props: true,
          children: [{
            name: "clinic_med_dic",
            meta: { title: "门诊药品词典项", icon: "dashboard" },
            path: "clinic_med_dic/:viewMode/:mode",
            component: () => import("@/views/business/page/manager/clinic/clinicdic/clinicmedicinedic/ClinicMedDic"),
            hidden: true,
            props: true
          }, {
            name: "clinic_chain_dic",
            meta: { title: "门店供应链词典项", icon: "dashboard" },
            path: "clinic_chain_dic/:viewMode/:mode",
            component: () => import("@/views/business/page/manager/clinic/clinicdic/clinicmedicinedic/ClinicChainDic"),
            hidden: true,
            props: true
          }, {
            name: "clinic_classify_dic",
            meta: { title: "门店物料分类词典项", icon: "dashboard" },
            path: "clinic_classify_dic/:viewMode/:mode",
            component: () => import("@/views/business/page/manager/clinic/clinicdic/clinicmedicinedic/ClinicClassifyDic"),
            hidden: true,
            props: true
          }, {
            name: "clinic_materiel",
            meta: { title: "门店物料", icon: "dashboard" },
            path: "clinic_materiel/:viewMode/:mode",
            component: () => import("@/views/business/page/manager/clinic/clinicdic/clinicmedicinedic/ClinicMateriel"),
            hidden: true,
            props: true
          }]
        }, // --- 门诊参数设置 ---
        {
          path: "ClinicSetting",
          name: "ClinicSetting",
          component: SubPage,
          meta: { title: "门诊参数设置", icon: "dashboard" },
          hidden: true,
          props: true,
          children: [{
            name: "SubClinicSetting",
            meta: { title: "门店症状词典项", icon: "dashboard" },
            path: "ClinicSetting/:viewMode/:mode",
            component: () => import("@/views/business/page/manager/clinic/clinicdic/clinicSetting/ClinicSetting"),
            hidden: true,
            props: true
          }]
        }]
    }, // --- 结算管理 ---
    {
      name: "settlement",
      path: "settlement",
      component: SubPage,
      meta: { title: "结算管理", icon: "dashboard" },
      hidden: true,
      props: true,
      children: [{
        path: "Clinicstlmt",
        name: "Clinicstlmt",
        component: SubPage,
        meta: { title: "门店结算", icon: "dashboard" },
        hidden: true,
        props: true,
        children: [{
          name: "RetailStlmt",
          meta: { title: "零售结算单", icon: "dashboard" },
          path: "RetailStlmt/:viewMode/:mode",
          component: () => import("@/views/business/page/manager/clinic/clinicstlmt/clinicstlmt/RetailStlmt.vue"),
          hidden: true,
          props: true
        }, {
          name: "DiagStlmt",
          meta: { title: "就诊结算单", icon: "dashboard" },
          path: "DiagStlmt/:viewMode/:mode",
          component: () => import("@/views/business/page/manager/clinic/clinicstlmt/clinicstlmt/DiagStlmt.vue"),
          hidden: true,
          props: true
        }, {
          name: "TherapyStlmt",
          meta: { title: "理疗结算单", icon: "dashboard" },
          path: "TherapyStlmt/:viewMode/:mode",
          component: () => import("@/views/business/page/manager/clinic/clinicstlmt/clinicstlmt/TherapyStlmt.vue"),
          hidden: true,
          props: true
        }]
      }]
    }, // --- 供应商管理 ---
    {
      name: "Supplier",
      path: "Supplier",
      component: SubPage,
      meta: { title: "供应商管理", icon: "dashboard" },
      hidden: true,
      props: true,
      children: [{
        name: "subSupplier",
        path: "Supplier",
        component: SubPage,
        meta: { title: "供应商", icon: "dashboard" },
        hidden: true,
        props: true,
        children: [{
          name: "subSubSupplier",
          meta: { title: "供应商", icon: "dashboard" },
          path: "Supplier/:viewMode/:mode",
          component: () => import("@/views/business/page/manager/clinic/supplier/supplier/Supplier.vue"),
          hidden: true,
          props: true
        }, {
          name: "SupplierMateriel",
          meta: { title: "供应商物料", icon: "dashboard" },
          path: "SupplierMateriel/:viewMode/:mode",
          component: () => import("@/views/business/page/manager/clinic/supplier/supplier/SupplierMateriel.vue"),
          hidden: true,
          props: true
        }]
      }, {
        name: "Purchase",
        path: "Purchase",
        component: SubPage,
        meta: { title: "采购订单", icon: "dashboard" },
        hidden: true,
        props: true,
        children: [{
          name: "Po",
          meta: { title: "采购订单", icon: "dashboard" },
          path: "Po/:viewMode/:mode",
          component: () => import("@/views/business/page/manager/clinic/supplier/Purchase/Po.vue"),
          hidden: true,
          props: true
        }]
      }]
    }, // --- 门店评价 ---
    {
      name: "Evaluate",
      path: "Evaluate",
      component: SubPage,
      meta: { title: "门店评价", icon: "dashboard" },
      hidden: true,
      props: true,
      children: [{
        name: "subEvaluate",
        path: "Evaluate",
        component: SubPage,
        meta: { title: "门诊评价", icon: "dashboard" },
        hidden: true,
        props: true,
        children: [{
          name: "TreatmentTab",
          meta: { title: "采购订单", icon: "dashboard" },
          path: "TreatmentTab/:viewMode/:mode",
          component: () => import("@/views/business/page/manager/clinic/evaluate/evaluate/TreatmentTab.vue"),
          hidden: true,
          props: true
        }, {
          name: "TherapyTab",
          meta: { title: "理疗标签", icon: "dashboard" },
          path: "TherapyTab/:viewMode/:mode",
          component: () => import("@/views/business/page/manager/clinic/evaluate/evaluate/TherapyTab.vue"),
          hidden: true,
          props: true
        }, {
          name: "TreatmentQual",
          meta: { title: "诊疗资质", icon: "dashboard" },
          path: "TreatmentQual/:viewMode/:mode",
          component: () => import("@/views/business/page/manager/clinic/evaluate/evaluate/TreatmentQual.vue"),
          hidden: true,
          props: true
        }, {
          name: "TherapyQual",
          meta: { title: "理疗资质", icon: "dashboard" },
          path: "TherapyQual/:viewMode/:mode",
          component: () => import("@/views/business/page/manager/clinic/evaluate/evaluate/TherapyQual.vue"),
          hidden: true,
          props: true
        }, {
          name: "TreatmentEvaluate",
          meta: { title: "诊疗评价", icon: "dashboard" },
          path: "TreatmentEvaluate/:viewMode/:mode",
          component: () => import("@/views/business/page/manager/clinic/evaluate/evaluate/TreatmentEvaluate.vue"),
          hidden: true,
          props: true
        }, {
          name: "TherapyEvaluate",
          meta: { title: "理疗评价", icon: "dashboard" },
          path: "TherapyEvaluate/:viewMode/:mode",
          component: () => import("@/views/business/page/manager/clinic/evaluate/evaluate/TherapyEvaluate.vue"),
          hidden: true,
          props: true
        }, {
          name: "ClinicEvaluate",
          meta: { title: "门店评估", icon: "dashboard" },
          path: "ClinicEvaluate/:viewMode/:mode",
          component: () => import("@/views/business/page/manager/clinic/evaluate/evaluate/ClinicEvaluate.vue"),
          hidden: true,
          props: true
        }, {
          name: "ClinicQual",
          meta: { title: "门店资质", icon: "dashboard" },
          path: "ClinicQual/:viewMode/:mode",
          component: () => import("@/views/business/page/manager/clinic/evaluate/evaluate/ClinicQual.vue"),
          hidden: true,
          props: true
        }]
      }]
    }, // --- 治疗管理 ---
    {
      name: "treatment",
      path: "treatment",
      component: SubPage,
      meta: { title: "治疗管理", icon: "dashboard" },
      hidden: true,
      props: true,
      children: [{
        name: "therapy",
        path: "therapy",
        component: SubPage,
        meta: { title: "理疗管理", icon: "dashboard" },
        hidden: true,
        props: true,
        children: [{
          name: "TherapyMateriel",
          meta: { title: "理疗项目", icon: "dashboard" },
          path: "TherapyMateriel/:viewMode/:mode",
          component: () => import("@/views/business/page/manager/clinic/treatment/therapy/TherapyMateriel.vue"),
          hidden: true,
          props: true
        }, {
          name: "TherapyRecord",
          meta: { title: "理疗记录", icon: "dashboard" },
          path: "TherapyRecord/:viewMode/:mode",
          component: () => import("@/views/business/page/manager/clinic/treatment/therapy/TherapyRecord.vue"),
          hidden: true,
          props: true
        }]
      }]
    }, // --- 结算管理 ---
    {
      name: "clinicstlmt",
      path: "clinicstlmt",
      component: SubPage,
      meta: { title: "结算管理", icon: "dashboard" },
      hidden: true,
      props: true,
      children: [{
        name: "subClinicstlmt",
        path: "clinicstlmt",
        component: SubPage,
        meta: { title: "门店结算", icon: "dashboard" },
        hidden: true,
        props: true,
        children: [{
          name: "retailStlmt",
          meta: { title: "零售结算单", icon: "dashboard" },
          path: "retailStlmt/:viewMode/:mode",
          component: () => import("@/views/business/page/manager/clinic/clinicstlmt/clinicstlmt/RetailStlmt.vue"),
          hidden: true,
          props: true
        }, {
          name: "diagStlmt",
          meta: { title: "就诊结算单", icon: "dashboard" },
          path: "diagStlmt/:viewMode/:mode",
          component: () => import("@/views/business/page/manager/clinic/clinicstlmt/clinicstlmt/DiagStlmt.vue"),
          hidden: true,
          props: true
        }, {
          name: "therapyStlmt",
          meta: { title: "理疗结算单", icon: "dashboard" },
          path: "therapyStlmt/:viewMode/:mode",
          component: () => import("@/views/business/page/manager/clinic/clinicstlmt/clinicstlmt/TherapyStlmt.vue"),
          hidden: true,
          props: true
        }]
      }]
    }, // --- 客户管理 ---
    {
      name: "customer",
      path: "customer",
      component: SubPage,
      meta: { title: "客户管理", icon: "dashboard" },
      hidden: true,
      props: true,
      children: [{
        name: "profile",
        path: "profile",
        component: SubPage,
        meta: { title: "客户档案", icon: "dashboard" },
        hidden: true,
        props: true,
        children: [{
          name: "Label",
          meta: { title: "标签库", icon: "dashboard" },
          path: "label/:viewMode/:mode",
          component: () => import("@/views/business/page/manager/clinic/customer/profile/Label.vue"),
          hidden: true,
          props: true
        }, {
          name: "customerProfile",
          meta: { title: "客户档案", icon: "dashboard" },
          path: "customerProfile/:viewMode/:mode",
          component: () => import("@/views/business/page/manager/clinic/customer/profile/CustomerProfile.vue"),
          hidden: true,
          props: true
        }, {
          name: "customerLabel",
          meta: { title: "客户标签", icon: "dashboard" },
          path: "customerLabel/:viewMode/:mode",
          component: () => import("@/views/business/page/manager/clinic/customer/profile/CustomerLabel.vue"),
          hidden: true,
          props: true
        }]
      }]
    }]
}
